import { request } from 'umi';

export async function query() {
  return request<API.CurrentUser[]>('/dxap/antw/users', { method: 'post' });
}

export async function queryCurrent() {
  return request<API.CurrentUser>('/dxap/antw/currentUser', { method: 'post' });
}

